package com.gitee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.pojo.Order;
import com.gitee.vo.OrderVo;
import com.gitee.vo.PageVo;

import java.util.List;

public interface IOrderService extends IService<Order> {

    PageVo<OrderVo> pageOrderVos(String eatTime, Integer cookbookType,
                                 Integer orderStatus, Integer orderType,
                                 Integer pageNum, Integer pageSize);

    List<Order> listByUserId(Integer userId);

    List<Order> listByUserIds(Integer[] userIds);
}
